package com.ltkj.baseplatform.domain.bo;

import com.ltkj.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 文章内容对象 art_content
 * 
 * @author liupf
 * @date 2023-08-28
 */
@ApiModel(value = "内容管理-文章内容对象")
public class ArtContentBo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 栏目ID */
    @ApiModelProperty(value="栏目ID",required=true)
    @NotNull(message = "栏目不能为空")
    private Long channelId;

    /** 标题 */
    @ApiModelProperty(value="标题",required=true)
    @NotBlank(message = "文章标题不能为空!")
    private String title;

    /** 副标题 */
    @ApiModelProperty("副标题")
    private String subtitle;

    /** 内容简介 */
    @ApiModelProperty("内容简介")
    private String introduction;

    /** 内容正文 */
    @ApiModelProperty("内容正文")
    private String articleText;

    /** 图片路径 */
    @ApiModelProperty("图片路径")
    private String imgPath;

    /** 状态（0草稿，1已发布，2回收站） */
    @ApiModelProperty("状态（0草稿，1已发布，默认0）")
    private String articleStatus;

    /** 是否置顶 */
    @ApiModelProperty("是否置顶(0否1是默认0)")
    private String isTop;

    /** 是否可评论 */
    @ApiModelProperty("是否可评论(0否1是默认1)")
    private String isComment;

    /** 点赞量 */
    @ApiModelProperty("点赞量")
    private Long likes;

    /** 收藏量 */
    @ApiModelProperty("收藏量")
    private Long collectNum;

    /** 阅读量 */
    @ApiModelProperty("阅读量")
    private Long readNum;

    /** 评论量 */
    @ApiModelProperty("评论量")
    private Long commentNum;

    /** 是否删除 */
    @ApiModelProperty("是否删除（0否，1是，2回收站，默认0）")
    private String isDel;

    /** 链接类型0内部，1外部默认0 */
    @ApiModelProperty("链接类型0内部，1外部默认0")
    private String linkType;

    /** 跳转链接（外部链接才有值） */
    @ApiModelProperty("跳转链接")
    private String linkUrl;

    /** 按钮链接类型（0内部，1外部默认0） */
    @ApiModelProperty("按钮链接类型（0内部，1外部默认0）")
    private String butLinkType;

    /** 活动类型 */
    @ApiModelProperty("按钮跳转链接")
    private String butLinkUrl;

    /** 按钮文字 */
    @ApiModelProperty("按钮文字")
    private String showText;

    /** 经度 */
    @ApiModelProperty("经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度")
    private String latitude;

    /** 发布地点 */
    @ApiModelProperty("发布地点")
    private String placeName;

    /** 缩略图路径 */
    @ApiModelProperty("缩略图路径")
    private String zoomImgPath;

    @ApiModelProperty("封面图路径")
    private String coverImgPath;

    @ApiModelProperty("排序字段")
    private Integer orderNo;

    @ApiModelProperty("appid跳转小程序使用")
    private String appId;

    @ApiModelProperty("appid跳转小程序(按钮)")
    private String butAppId;

    @ApiModelProperty("推荐值")
    private Integer recommentValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setChannelId(Long channelId) 
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubtitle(String subtitle) 
    {
        this.subtitle = subtitle;
    }

    public String getSubtitle() 
    {
        return subtitle;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setArticleText(String articleText) 
    {
        this.articleText = articleText;
    }

    public String getArticleText() 
    {
        return articleText;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setArticleStatus(String articleStatus) 
    {
        this.articleStatus = articleStatus;
    }

    public String getArticleStatus() 
    {
        return articleStatus;
    }
    public void setIsTop(String isTop) 
    {
        this.isTop = isTop;
    }

    public String getIsTop() 
    {
        return isTop;
    }
    public void setIsComment(String isComment) 
    {
        this.isComment = isComment;
    }

    public String getIsComment() 
    {
        return isComment;
    }
    public void setLikes(Long likes) 
    {
        this.likes = likes;
    }

    public Long getLikes() 
    {
        return likes;
    }
    public void setCollectNum(Long collectNum) 
    {
        this.collectNum = collectNum;
    }

    public Long getCollectNum() 
    {
        return collectNum;
    }
    public void setReadNum(Long readNum) 
    {
        this.readNum = readNum;
    }

    public Long getReadNum() 
    {
        return readNum;
    }
    public void setCommentNum(Long commentNum) 
    {
        this.commentNum = commentNum;
    }

    public Long getCommentNum() 
    {
        return commentNum;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    public String getLinkType() {
        return linkType;
    }

    public void setLinkType(String linkType) {
        this.linkType = linkType;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getButLinkType() {
        return butLinkType;
    }

    public void setButLinkType(String butLinkType) {
        this.butLinkType = butLinkType;
    }

    public String getButLinkUrl() {
        return butLinkUrl;
    }

    public void setButLinkUrl(String butLinkUrl) {
        this.butLinkUrl = butLinkUrl;
    }

    public String getShowText() {
        return showText;
    }

    public void setShowText(String showText) {
        this.showText = showText;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getZoomImgPath() {
        return zoomImgPath;
    }

    public void setZoomImgPath(String zoomImgPath) {
        this.zoomImgPath = zoomImgPath;
    }

    public String getCoverImgPath() {
        return coverImgPath;
    }

    public void setCoverImgPath(String coverImgPath) {
        this.coverImgPath = coverImgPath;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getButAppId() {
        return butAppId;
    }

    public void setButAppId(String butAppId) {
        this.butAppId = butAppId;
    }

    public Integer getRecommentValue() {
        return recommentValue;
    }

    public void setRecommentValue(Integer recommentValue) {
        this.recommentValue = recommentValue;
    }
}
